package com.u3k.mid;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

public class an {
    private static final String a = an.class.getSimpleName();
    private static an b;
    private ao c;

    public static an a(Context context) {
        synchronized (an.class) {
            try {
                if (b == null) {
                    b = new an();
                    b.b(context);
                }
                an anVar = b;
                return anVar;
            } finally {
                Object obj = an.class;
            }
        }
    }

    private void b(Context context) {
        this.c = new ao(context);
    }

    public SQLiteDatabase a() {
        return this.c.getWritableDatabase();
    }
}
